import random
count = input()


xt1 = -7
xt2 = 5
yt1 = -8
yt2 = 5

count_of_true = 0


for i in range(int(count)):
    x = random.randint(-100, 100)
    y = random.randint(-100, 100)

    
    if xt1 <= x <= xt2 and yt1 <= y <= yt2:
        count_of_true += 1

print("Количество выстрелов " + count)
print("Количество попаданий " + str(count_of_true))
